import Vue from 'vue';
import App from './App.vue';
import router from "@/router";
import store from "./store";

import "@/mock";


import lazyLoad from "@/main/lazyLoad"
import components from "@/main/components"
import elementUi from "@/main/elementUi"
import validate from "@/main/validate"

Vue.config.productionTip = false;



Vue.use(lazyLoad)
Vue.use(components)
Vue.use(elementUi)
Vue.use(validate)



new Vue({
  render: h => h(App),
  beforeCreate(){
      Vue.prototype.$bus = this
  },
  router,
  store
}).$mount('#app')
